package cn.lau.pp.module.vr.controller.admin.device.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - vr设备新增/修改 Request VO")
@Data
public class DeviceSaveReqVO {
    @Schema(description = "主键id", requiredMode = Schema.RequiredMode.REQUIRED, example = "12341")
    private Integer id;

    @Schema(description = "设备名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "李四")
    @NotEmpty(message = "设备名称不能为空")
    private String name;

    @Schema(description = "设备编码", requiredMode = Schema.RequiredMode.REQUIRED, example = "FS1234123")
    @NotEmpty(message = "设备编码不能为空")
    private String code;

    @Schema(description = "设备状态 1:关闭  0:开启", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "设备状态 1:关闭  0:开启不能为空")
    private Integer status;

}